The attached patch makes xend clear the reboot request from the store
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Sep 2005 07:53:46 +0000 (07:53 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Sep 2005 07:53:46 +0000 (07:53 +0000)
when rebooting a domain.  This prevents the lingering request from
being re-fulfilled, such as when executing a subsequent sysrq request.

Signed-off-by: Dan Smith <danms@us.ibm.com>
tools/python/xen/xend/XendDomainInfo.py

index ee8edd566f95dff9cb086ebebce9149e6fcc82fa..abb692f051a60b64cb00a3fe9691400aea69d254 100644 (file)
@@ -1006,6 +1006,7 @@ class XendDomainInfo:
 
         """
         try:
+            self.clear_shutdown()
             self.state = STATE_VM_OK
             self.shutdown_pending = None
             self.restart_check()